{%extends "cms/base/base.html" %} {% block content %}
<!-- start content -->
<div id="content">
	<br/>
	<form id="tagsForm" name="tagsForm" action="/admin/updateTags/{{ tag.id }}/{{ recommend }}/" method="post">
		{% csrf_token %}
		<table border="0" width="100%" cellpadding="0" cellspacing="0"
			id="content-table">
			<tr>
				<th rowspan="3" class="sized"><div style="width:20px;">&nbsp;</div></th>
				<th class="topleft"></th>
				<td id="tbl-border-top">&nbsp;</td>
				<th class="topright"></th>
				<th rowspan="3" class="sized"><div style="width:20px;">&nbsp;</div></th>
			</tr>
			<tr>
				<td id="tbl-border-left"></td>
				<td>
					<!--  start content-table-inner -->
					<div id="content-table-inner">
						<table border="0" width="100%" cellpadding="0" cellspacing="0">
							<tr valign="top">
								<td>
									<!--  end step-holder --> <!-- start id-form -->
									<table border="0" cellpadding="0" cellspacing="0" id="id-form">
										<tr>
											<th valign="top">标签名称:</th>
											<td><input type="text" name="name" class="inp-form" value="{{ tag.name }}" /></td>
											<td></td>
										</tr>
										<tr>
											<th valign="top">标签描述:</th>
											<td><textarea rows="" cols="" name="description" class="form-textarea">{{ tag.description }}</textarea></td>
											<td></td>
										</tr>
										<tr>
											<th>&nbsp;</th>
											<td valign="top">
												<input type="button" value="" class="form-submit" onclick="$('#tagsForm').submit();" />
												<input type="reset" value="" class="form-reset" />
											</td>
											<td></td>
										</tr>
									</table> <!-- end id-form  -->
								</td>
							</tr>
							<tr>
								<td><img src="/site_media/images/shared/blank.gif" width="695"
									height="1" alt="blank" /></td>
								<td></td>
							</tr>
						</table>
	
						<div class="clear"></div>
					</div> <!--  end content-table-inner  -->
				</td>
				<td id="tbl-border-right"></td>
			</tr>
			<tr>
				<th class="sized bottomleft"></th>
				<td id="tbl-border-bottom">&nbsp;</td>
				<th class="sized bottomright"></th>
			</tr>
		</table>
	</form>
	<div class="clear">&nbsp;</div>
</div>
<!--  end content -->
{% endblock %}
